package com.hualan.mapper;

import com.hualan.pojo.CourseSort;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseSortMapper {
    List<CourseSort> queryAllCourseSort(String categoryName);

    void deleteCourseSort(List<Integer> ids);

    void saveCourseSort(CourseSort courseSort);

    void updateCourseSort(CourseSort courseSort);

    CourseSort getCourseSortById(Integer id);
}
